package com.haikesi.api.menuauthority.domain.vo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;


@Data
@EqualsAndHashCode(callSuper = false)
public class MenuAuthoritySaveVO {
    private static final long serialVersionUID = -1L;


    /**
     * 权限名称
     */
    @ApiModelProperty(value = "权限名称")
    @NotNull(message="权限名称不能为空！")
    private String authorityName;

    /**
     * 权限描述
     */
    @ApiModelProperty(value = "权限描述")
    private String authorityDescription;

    /**
     * 权限图标
     */
    @ApiModelProperty(value = "权限图标")
    private String authorityIcon;

    /**
     * 父权限
     */
    @ApiModelProperty(value = "菜单上级ID")
    private String parentId;

    /**
     * 权限唯一标识
     */
    @ApiModelProperty(value = "权限唯一标识")
    @NotNull(message="权限唯一标识不能为空！")
    private String authoritySign;

    @ApiModelProperty(value = "权限分类( 1.权限菜单；2.权限按钮)")
    @NotNull(message="权限分类不能为空！")
    private Integer authorityType;
    
    @ApiModelProperty(value = "菜单url")
    private String menuUrl;


}